const Koa = require('koa')
const app = new Koa()

const middleware = function async(ctx, next) {
  console.log('this is a middleware!')
}